package com.yjt.admin.system.dao;

import com.yjt.admin.system.entity.OrgLeader;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yjt.admin.system.vo.org.OrgLeaderVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 组织领导关系表 Mapper 接口
 * </p>
 *
 * @author zzp
 * @since 2021-10-14
 */
public interface OrgLeaderMapper extends BaseMapper<OrgLeader> {
    /**
     * 通过组织或者岗位id查询集团领导的信息
     * @param orgLeaderIdList
     * @return
     */
    List<OrgLeaderVO> findOrgLeaderById(@Param("orgLeaderIdList") List<String> orgLeaderIdList);
}
